const  data = new Date()
data.getTime()
const reg = /abc/
reg.test('abc')

Math.pow(2,3)

interface IPerson {
    name:string
    age:number
}


let viking:IPerson = {name:"xmc",age:29}


type IPartial = Partial<IPerson>

let viking2:IPartial = {name:"xmc"}
type UserWithoutAge = Omit<IPerson, 'age'>;




let viking3:UserWithoutAge = {name:"xmc"}

interface User {
    id: number;
    name: string;
    age: number;
}

type UserPreview = Pick<User, 'id' | 'name'>;

let viking6:UserPreview = {id:23,name:"xmc"}

